<script setup lang="ts">
  import type { CSSProperties } from 'vue'

  interface IProps {
    style?: CSSProperties
    class?: string
  }
  defineProps<IProps>()
</script>

<template>
  <div :class="['qw-page', style]" :style="style">
    <slot></slot>
  </div>
</template>

<style lang="less" scoped>
  .qw-page {
    padding: 16px;
    height: 100%;
    overflow: hidden;
    display: flex;
    position: relative;
    box-sizing: border-box;
  }
</style>
